﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VersionAttribute
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly | AttributeTargets.Method)]
    class VersionAttribute : System.Attribute
    {
        private int version;

        public VersionAttribute(int version)
        {
            this.version = version;
        }

        public int Version
        {
            get
            {
                return version;
            }
        }
    }
}
